package com.librelato.persistencia.interfaces;

import java.util.List;
import java.util.Map;

import com.librelato.bean.HistoricoPedidoVendaBean;
import com.librelato.bean.PedidoVendaBean;
import com.librelato.bean.UsuarioBean;

public interface IPedidoVendaDao<P extends PedidoVendaBean> extends
		IDaoGenerico<P> {

	public List<PedidoVendaBean> buscaPedidos(Map<String, String> param)
			throws Exception;

	public List<HistoricoPedidoVendaBean> buscaHistoricoPedidoVenda(
			PedidoVendaBean pedido) throws Exception;

	public List<PedidoVendaBean> buscaPedidoPortalAntigo(
			Map<String, String> param) throws Exception;

	public byte[] imprimePedidoVenda(PedidoVendaBean pedido, String codRel,UsuarioBean usuario) throws Exception;

}
